package net.zjitc;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @version 1.0
 * @autho dell
 * @date 2018/5/10
 */
@Controller
public class MyController {
    @RequestMapping("/hello")
    public ModelAndView hello(){
        System.out.println("helll");
        ModelAndView modelAndView = new ModelAndView();
        //modelAndView.ad
        modelAndView.setViewName("/json.jsp");
        return modelAndView;
    }
}
